{extend name='./content'}

{block name="button"}
{/block}

{block name="content"}
<div id="upgradeSystemWrapper" style="">
    <!-- <div id="upgradeSystemWrapper" style="display: none;"> -->
    <div class="warm-tip info-tip">
        温馨提醒：请确保您的域名与授权的域名一致！
    </div>
    <div class="upgrade-icon-wrapper">
        <div class="upgrade-icon"></div>
        <p class="upgrade-text">
            已授权<a href="https://www.thinkct.net/" target="_blank" style="color:red;">（免费版）</a>
        </p>
    </div>
    <div class="system-content-wrapper">
        <div class="system-content-top">
            授权地址：<span id="version">{:request()->domain()}</span><br>
            授权方式：<span id="updateTime">顶级域名授权<a href="https://www.thinkct.net/" target="_blank" style="color:red;">（免费版）</a></span><br>
            授权时间：<span id="updateTimeLocal">2021-01-18 21:41:42</span>
        </div>
    </div>
    <button class="btn btn-primary check-show-btn" id="checkBtn">检查授权</button>
</div>
<script>
$(function (){
    $('.check-show-btn').click(function (){
        $.ajax({
            url: "admin/check_login",    // 提交到controller的url路径
            type: "post",    // 提交方式
            data: {

            },
            dataType: "json",
            success: function (data) {
                if (data.message == "success") {

                } else {
                }
            },
        });
    })

})
</script>
{/block}
